package com.glut.vo;

import java.io.Serializable;

/**
 * 学生客观题（单选，判断题）答题表
 * @Author:沈林玉
 * @date:2020/2/2 22:05
 * @Description:
 */
public class SdAnswers implements Serializable {

    private String sdID; // （单选，判断题）题目编号
    private String examNo; // 考卷编号
    private char sdAnswer; // 用户答案
    private Integer sdScore; // 学生得分，系统改卷
    private Integer value; // 分值

    private Examination examination;
    private SQuestionDetail sQuestion;
    private DQuestionDetail dQuestion;
    private SdfsQuestions sdfsQuestions;

    public SdAnswers() {
    }

    public SdAnswers(String sdID, String examNo, char sdAnswer,
                     Integer sdScore, Integer value) {
        this.sdID = sdID;
        this.examNo = examNo;
        this.sdAnswer = sdAnswer;
        this.sdScore = sdScore;
        this.value = value;
    }

    public SdAnswers(String sdID, String examNo, char sdAnswer, Integer sdScore, Integer value, Examination examination) {
        this.sdID = sdID;
        this.examNo = examNo;
        this.sdAnswer = sdAnswer;
        this.sdScore = sdScore;
        this.value = value;
        this.examination = examination;
    }

    public SdAnswers(String sdID, String examNo, char sdAnswer, Integer sdScore, Integer value, Examination examination, SQuestionDetail sQuestion) {
        this.sdID = sdID;
        this.examNo = examNo;
        this.sdAnswer = sdAnswer;
        this.sdScore = sdScore;
        this.value = value;
        this.examination = examination;
        this.sQuestion = sQuestion;
    }

    public SdAnswers(String sdID, String examNo, char sdAnswer, Integer sdScore, Integer value, Examination examination, SQuestionDetail sQuestion, DQuestionDetail dQuestion, SdfsQuestions sdfsQuestions) {
        this.sdID = sdID;
        this.examNo = examNo;
        this.sdAnswer = sdAnswer;
        this.sdScore = sdScore;
        this.value = value;
        this.examination = examination;
        this.sQuestion = sQuestion;
        this.dQuestion = dQuestion;
        this.sdfsQuestions = sdfsQuestions;
    }

    public String getSdID() {
        return sdID;
    }

    public void setSdID(String sdID) {
        this.sdID = sdID;
    }

    public String getExamNo() {
        return examNo;
    }

    public void setExamNo(String examNo) {
        this.examNo = examNo;
    }

    public char getSdAnswer() {
        return sdAnswer;
    }

    public void setSdAnswer(char answer) {
        this.sdAnswer = answer;
    }

    public Integer getSdScore() {
        return sdScore;
    }

    public void setSdScore(Integer sdScore) {
        this.sdScore = sdScore;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public Examination getExamination() {
        return examination;
    }

    public void setExamination(Examination examination) {
        this.examination = examination;
    }

    public SQuestionDetail getsQuestion() {
        return sQuestion;
    }

    public void setsQuestion(SQuestionDetail sQuestion) {
        this.sQuestion = sQuestion;
    }

    public DQuestionDetail getdQuestion() {
        return dQuestion;
    }

    public void setdQuestion(DQuestionDetail dQuestion) {
        this.dQuestion = dQuestion;
    }

    public SdfsQuestions getSdfsQuestions() {
        return sdfsQuestions;
    }

    public void setSdfsQuestions(SdfsQuestions sdfsQuestions) {
        this.sdfsQuestions = sdfsQuestions;
    }

    @Override
    public String toString() {
        return "SdAnswers{" +
                "sdID='" + sdID + '\'' +
                ", examNo='" + examNo + '\'' +
                ", sdAnswer=" + sdAnswer +
                ", sdScore=" + sdScore +
                ", value=" + value +
                ", examination=" + examination +
                '}';
    }
}

